<?php
    $id = $this->session->userdata('doogy.id');
  
?>
    <div id="view_profile" align="center">
         <div align="left" id="title_view_profile" >Changer de mot de passe</div>
    <?php echo  form_open(site_url('home/change_pass') . '/' . $id );?>
  <?php   echo $erreur;
    echo validation_errors();
    ?>
        <table id="formactu" cellpadding="10px" cellspacing="0">
            <tr> <td>Ancien mot de passe</td> <td><input type="password" name="apass"/></td> </tr>
            <tr> <td>Nouveau mot de passe</td> <td><input type="password" name="npass" /></td> </tr>
            <tr> <td>Confirmation le mot de passe</td> <td><input type="password" name="confirm_npass" /></td> </tr>
            <tr> <td></td> <td><input value="Enregistrer" type="submit" name="submit"/></td> </tr>
        </table>

    <?php echo form_close() ?>
</div>